home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / LORD2B6.ZIP / GAMBLE.REF < prev    next >
Text File  |  1997-05-18  |  15KB  |  978 lines

  1. ;Gambling Casino for Lord II: New World
  2. ;Lord II: New World written by Seth A. Robinson
  3. ;Gambling Casino written by Davey Case
  4. ;You can e-mail your questions and comments to toadhall@chatlink.com
  5. ;Currently has: Craps, Slots
  6.  
  7. ;5-16-97 touched up by Seth A. Robinson, added colors, 'per day' limits
  8. ;and fixed it so Oranges worked in slots.
  9.  
  10. @#help
  11.  @show
  12. `r0`c  `r1 Craps Help `r0
  13.  
  14.   `2If you roll a `02`2, `03`2, or a `012`2 on your first roll, you lose.
  15.   If you roll a `07`2 or an `011`2 on your first roll, you win.
  16.  
  17.  `2 Otherwise, the dice are rolled until the total of the
  18.   first roll is rolled again, in which case the player
  19.   wins. But if a `07`2 or an `011`2 is rolled after the first
  20.   roll, you lose.
  21.  
  22.   Good luck!
  23.  
  24. `k
  25.  @do goto craps
  26.  @end
  27.  
  28. @#crapstart
  29.  
  30. @do `v01 is 1
  31. @do goto craps
  32.  
  33. @#craps
  34. @do moveback
  35. @busy
  36. @do `p24 is 0
  37. @do `p21 is money
  38. @show
  39. `r0`c  `r1 Playing some Craps `r0
  40.  
  41.   `2You have `$$`p21`2.  How much do you want to wager? `2(`0`p33 `2gambles left`2)
  42.  
  43. @do write
  44. `x`x
  45. @choice
  46. $5
  47. $10
  48. $20
  49. $50
  50. $100
  51. Help on craps
  52. Leave
  53. @if response is 6 then do
  54.   @begin
  55.   @do goto help
  56.   @end
  57.  
  58.  
  59. @if responce = 1 then do
  60.  @begin
  61.  @if `p21 < 5 then do
  62.   @begin
  63.   @do goto nomoney
  64.   @end
  65.  @do `p20 is 5
  66.  @do goto begin1
  67.  @end
  68. @if responce = 2 then do
  69.  @begin
  70.  @if `p21 < 10 then do
  71.   @begin
  72.   @do goto nomoney
  73.   @end
  74.  @do `p20 is 10
  75.  @do goto begin1
  76.  @end
  77. @if responce = 3 then do
  78.  @begin
  79.  @if `p21 < 20 then do
  80.   @begin
  81.   @do goto nomoney
  82.   @end
  83.  @do `p20 is 20
  84.  @do goto begin1
  85.  @end
  86. @if responce = 4 then do
  87.  @begin
  88.  @if `p21 < 50 then do
  89.   @begin
  90.   @do goto nomoney
  91.   @end
  92.  @do `p20 is 50
  93.  @do goto begin1
  94.  @end
  95. @if responce = 5 then do
  96.  @begin
  97.  @if `p21 < 100 then do
  98.   @begin
  99.   @do goto nomoney
  100.   @end
  101.  @do `p20 is 100
  102.  @do goto begin1
  103.  @end
  104. @if response = 7 then do
  105.  @begin
  106.  @do goto ending
  107.  @end
  108. @label begin1
  109. @if `p33 < 1 then do
  110.   @begin
  111.   @show
  112. `r0`c  `r1 `%You carefully spit on the dice for good luck. `r0
  113.  
  114. `2  `4A hand catches yours before you can roll.
  115. `\`k  `0"You've gambled enough for today we think, kid.  Come back
  116.   tomorrow," `2 a greasy looking fellow explains.
  117. `\`k
  118.   @drawmap
  119.   @update
  120.   @closescript
  121.   @end
  122.  
  123. @do `p33 - 1
  124. @show
  125. `r0`c  `r1 `%You carefully spit on the dice for good luck. `r0
  126.  
  127. @do `p22 random 5 1
  128. @do `p23 random 5 1
  129. @do `p24 + `p22
  130. @do `p24 + `p23
  131. @show
  132.   `0First Roll....
  133.  
  134. @show
  135.   `2Die #1`0: `p22
  136.   `2Die #2:`0 `p23
  137.  
  138.   `2Total: `0`p24
  139.  
  140. @if `p24 = 2 then do
  141.  @begin
  142.  @show
  143.  
  144.   `4Snake Eyes!
  145.  @do goto lose
  146.  @end
  147. @if `p24 = 3 then do
  148.  @begin
  149.  @show
  150.   `4Cock Eyes!
  151.  @do goto lose
  152.  @end
  153. @if `p24 = 12 then do
  154.  @begin
  155.  @show
  156.   `4Boxcars!
  157.  @do goto lose
  158.  @end
  159. @if `p24 = 7 then do
  160.  @begin
  161.  @show
  162.   `%A Natural!
  163.  @do goto win
  164.  @end
  165. @if `p24 = 11 then do
  166.  @begin
  167.  @show
  168.   `%A Natural!
  169.  @do goto win
  170.  @end
  171. @show
  172.   `0`p24`2 is your point.
  173. @label nextroll
  174. @do `p25 is 0
  175. @show
  176.  
  177.   Press a key to roll again.
  178. @do `p22 random 5 1
  179. @do `p23 random 5 1
  180. @do `p25 + `p22
  181. @do `p25 + `p23
  182. @show
  183. `\`k  `2Die #1: `0`p22
  184.   `2Die #2: `0`p23
  185.  
  186.   `2Total: `0`p25
  187. @if `p25 = `p24 then do
  188.  @begin
  189.  @do goto hit
  190.  @end
  191. @if `p25 = 7 then do
  192.  @begin
  193.  @do goto crapout
  194.  @end
  195. @if `p25 = 11 then do
  196.  @begin
  197.  @do goto crapout
  198.  @end
  199. @show
  200.  
  201.   `2Not your point, keep rolling the bones!
  202. @do goto nextroll
  203. @label hit
  204. @show
  205.  
  206.   `0Yes! You hit your point.
  207. @label win
  208. @show
  209.  
  210.   `2You win your bet of: `$$`p20`2!
  211. @if `p20 = 5 then do
  212.  @begin
  213.  @do money + 5
  214.  @end
  215. @if `p20 = 10 then do
  216.  @begin
  217.  @do money + 10
  218.  @end
  219. @if `p20 = 20 then do
  220.  @begin
  221.  @do money + 20
  222.  @end
  223. @if `p20 = 50 then do
  224.  @begin
  225.  @do money + 50
  226.  @end
  227. @if `p20 = 100 then do
  228.  @begin
  229.  @do money + 100
  230.  @end
  231. @do goto bottom
  232. @label crapout
  233. @show
  234.  
  235.   `4You crapped out!
  236. @label lose
  237. @show
  238.  
  239.   `2You lose your bet of: `$$`p20`2.
  240. @if `p20 = 5 then do
  241.  @begin
  242.  @do money - 5
  243.  @end
  244. @if `p20 = 10 then do
  245.  @begin
  246.  @do money - 10
  247.  @end
  248. @if `p20 = 20 then do
  249.  @begin
  250.  @do money - 20
  251.  @end
  252. @if `p20 = 50 then do
  253.  @begin
  254.  @do money - 50
  255.  @end
  256. @if `p20 = 100 then do
  257.  @begin
  258.  @do money - 100
  259.  @end
  260. @label bottom
  261. @show
  262. `\`k
  263. @do goto craps
  264. @label nomoney
  265. @show
  266. `\`\  `4I'm sorry, but you don't have enough money for that bet.
  267.  
  268. `k
  269. @do goto craps
  270.  
  271. @#slotstart
  272. @show
  273. `r0`c  `r1 Welcome to the slot machines! `r0
  274.  
  275.   `0Payoffs are:`2
  276.  
  277.   `03 Bars`2....................................................`0100 `2to `01
  278.   3 Bells`2....................................................`080`2 to `01
  279.   3 Lemons`2...................................................`050 `2to `01
  280.   3 Plums`2....................................................`030 `2to `01
  281.   3 Peaches`2..................................................`025 `2to `01
  282.   3 Oranges`2..................................................`010 `2to `01
  283.   2 Bars & 1 Bell`2............................................`010 `2to `01
  284.   2 Bells & 1 Lemon`2...........................................`09 `2to `01
  285.   2 Lemons & 1 Plum`2...........................................`08 `2to `01
  286.   2 Plums & 1 Peach`2...........................................`07 `2to `01
  287.   2 Peaches & 1 Orange`2........................................`05 `2to `01
  288.   2 Oranges & Anything`2........................................`02 `2to `01
  289.  
  290. `k
  291. @do `v01 is 1
  292. @do goto slots
  293.  
  294. @#slots
  295. @busy
  296. @do moveback
  297. @do `p20 is 0
  298. @do `p21 is 0
  299. @do `p22 is 0
  300. @do `p23 is 0
  301. @do `p24 is 0
  302. @do `p25 is 0
  303. @show
  304. `r0`c `% `r1 Pulling your lever `r0
  305.  
  306. `2  You now have: `$$&money`2.  Put how much in the machine? `2(`0`p33`2 gambles left)
  307.  
  308. @do write
  309. `x`x
  310. @choice
  311. $1
  312. $2
  313. $5
  314. $10
  315. $20
  316. Show payoffs
  317. Leave
  318. @if response is 6 then goto slotstart
  319.  
  320. @if responce = 1 then do
  321.  @begin
  322.  @do `p21 is 1
  323.  @end
  324. @if responce = 2 then do
  325.  @begin
  326.  @do `p21 is 2
  327.  @end
  328. @if responce = 3 then do
  329.  @begin
  330.  @do `p21 is 5
  331.  @end
  332. @if responce = 4 then do
  333.  @begin
  334.  @do `p21 is 10
  335.  @end
  336. @if responce = 5 then do
  337.  @begin
  338.  @do `p21 is 20
  339.  @end
  340. @if responce = 7 then do
  341.  @begin
  342.  @do goto ending
  343.  @end
  344. @if money < `p21 then do
  345.  @begin
  346.  @show
  347.  
  348.   `4You don't have that much money!
  349.  @key
  350.  @do goto slots
  351.  @end
  352.  
  353. @if `p33 < 1 then do
  354.   @begin
  355.   @show
  356. `r0`c  `r1 `%You grab the level firmly `r0
  357.  
  358. `2  `4A hand catches yours before you can pull.
  359. `\`k  `0"You've gambled enough for today we think, kid.  Come back
  360.   tomorrow," `2 a greasy looking fellow explains.
  361. `\`k
  362.   @drawmap
  363.   @update
  364.   @closescript
  365.   @end
  366. @do `p33 - 1
  367.  
  368. @show
  369. `\`\  `2You pull the lever as hard as you can.`\
  370. @do `p22 random 6 1
  371. @if `p22 = 1 then do
  372.  @begin
  373.  @show
  374.   `%Bar
  375.  @do `p23 + 300000
  376.  @end
  377. @if `p22 = 2 then do
  378.  @begin
  379.  @show
  380.   `7Bell
  381.  @do `p23 + 20000
  382.  @end
  383. @if `p22 = 3 then do
  384.  @begin
  385.  @show
  386.   `$Lemon
  387.  @do `p23 + 3000
  388.  @end
  389. @if `p22 = 4 then do
  390.  @begin
  391.  @show
  392.   `5Plum
  393.  @do `p23 + 100
  394.  @end
  395. @if `p22 = 5 then do
  396.  @begin
  397.  @show
  398.   `6Peach
  399.  @do `p23 + 20
  400.  @end
  401. @if `p22 = 6 then do
  402.  @begin
  403.  @show
  404.   `6Orange
  405.  @do `p23 + 3
  406.  @end
  407. @do `p22 random 6 1
  408. @if `p22 = 1 then do
  409.  @begin
  410.  @show
  411.   `%Bar
  412.  @do `p23 + 300000
  413.  @end
  414. @if `p22 = 2 then do
  415.  @begin
  416.  @show
  417.   `7Bell
  418.  @do `p23 + 20000
  419.  @end
  420. @if `p22 = 3 then do
  421.  @begin
  422.  @show
  423.   `$Lemon
  424.  @do `p23 + 3000
  425.  @end
  426. @if `p22 = 4 then do
  427.  @begin
  428.  @show
  429.   `5Plum
  430.  @do `p23 + 100
  431.  @end
  432. @if `p22 = 5 then do
  433.  @begin
  434.  @show
  435.   `6Peach
  436.  @do `p23 + 20
  437.  @end
  438. @if `p22 = 6 then do
  439.  @begin
  440.  @show
  441.   `6Orange
  442.  @do `p23 + 3
  443.  @end
  444. @do `p22 random 6 1
  445. @if `p22 = 1 then do
  446.  @begin
  447.  @show
  448.   `%Bar
  449.  @do `p23 + 300000
  450.  @end
  451. @if `p22 = 2 then do
  452.  @begin
  453.  @show
  454.   `7Bell
  455.    @do `p23 + 20000
  456.  @end
  457. @if `p22 = 3 then do
  458.  @begin
  459.  @show
  460.   `$Lemon
  461.  @do `p23 + 3000
  462.  @end
  463. @if `p22 = 4 then do
  464.  @begin
  465.  @show
  466.   `5Plum
  467.  @do `p23 + 100
  468.  @end
  469. @if `p22 = 5 then do
  470.  @begin
  471.  @show
  472.   `6Peach
  473.  @do `p23 + 20
  474.  @end
  475. @if `p22 = 6 then do
  476.  @begin
  477.  @show
  478.   `6Orange
  479.  @do `p23 + 3
  480.  @end
  481. @do `p24 is `p21
  482. @if `p23 = 900000 then do
  483.  @begin
  484.  @show
  485.  
  486.   `%Jackpot!!! `0100 `2to `01`2 payoffs!!
  487.  
  488.  @if `p21 = 1 then do
  489.   @begin
  490.   @do money + 100
  491.   @end
  492.  @if `p21 = 2 then do
  493.   @begin
  494.   @do money + 200
  495.   @end
  496.  @if `p21 = 5 then do
  497.   @begin
  498.   @do money + 500
  499.   @end
  500.  @if `p21 = 10 then do
  501.   @begin
  502.   @do money + 1000
  503.   @end
  504.  @if `p21 = 20 then do
  505.   @begin
  506.   @do money + 2000
  507.   @end
  508.  @key
  509.  @do goto slots
  510.  @end
  511. @if `p23 = 60000 then do
  512.  @begin
  513.  @show
  514.  
  515.   `2You win at `080`2 to `01`2 payoffs!
  516.  
  517.  @if `p21 = 1 then do
  518.   @begin
  519.   @do money + 80
  520.   @end
  521.  @if `p21 = 2 then do
  522.   @begin
  523.   @do money + 160
  524.   @end
  525.  @if `p21 = 5 then do
  526.   @begin
  527.   @do money + 400
  528.   @end
  529.  @if `p21 = 10 then do
  530.   @begin
  531.   @do money + 800
  532.   @end
  533.  @if `p21 = 20 then do
  534.   @begin
  535.   @do money + 1600
  536.   @end
  537.  @key
  538.  @do goto slots
  539.  @end
  540. @if `p23 = 9000 then do
  541.  @begin
  542.  @show
  543.  
  544.   `2You win at `050`2 to `01`2 payoffs!
  545.  
  546.  @if `p21 = 1 then do
  547.   @begin
  548.   @do money + 50
  549.   @end
  550.  @if `p21 = 2 then do
  551.   @begin
  552.   @do money + 100
  553.   @end
  554.  @if `p21 = 5 then do
  555.   @begin
  556.   @do money + 250
  557.   @end
  558.  @if `p21 = 10 then do
  559.   @begin
  560.   @do money + 500
  561.   @end
  562.  @if `p21 = 20 then do
  563.   @begin
  564.   @do money + 1000
  565.   @end
  566.  @key
  567.  @do goto slots
  568.  @end
  569. @if `p23 = 300 then do
  570.  @begin
  571.  @show
  572.  
  573.   `2You win at `030`2 to `01`2 payoffs!
  574.  
  575.  @if `p21 = 1 then do
  576.   @begin
  577.   @do money + 30
  578.   @end
  579.  @if `p21 = 2 then do
  580.   @begin
  581.   @do money + 60
  582.   @end
  583.  @if `p21 = 5 then do
  584.   @begin
  585.   @do money + 150
  586.   @end
  587.  @if `p21 = 10 then do
  588.   @begin
  589.   @do money + 300
  590.   @end
  591.  @if `p21 = 20 then do
  592.   @begin
  593.   @do money + 600
  594.   @end
  595.  @key
  596.  @do goto slots
  597.  @end
  598. @if `p23 = 60 then do
  599.  @begin
  600.  @show
  601.  
  602.   `2You win at `025`2 to `01`2 payoffs!
  603.  
  604.  @if `p21 = 1 then do
  605.   @begin
  606.   @do money + 25
  607.   @end
  608.  @if `p21 = 2 then do
  609.   @begin
  610.   @do money + 50
  611.   @end
  612.  @if `p21 = 5 then do
  613.   @begin
  614.   @do money + 125
  615.   @end
  616.  @if `p21 = 10 then do
  617.   @begin
  618.   @do money + 250
  619.   @end
  620.  @if `p21 = 20 then do
  621.   @begin
  622.   @do money + 500
  623.   @end
  624.  @key
  625.  @do goto slots
  626.  @end
  627. @if `p23 = 9 then do
  628.  @begin
  629.  @show
  630.  
  631.   `2You win at `010`2 to`0 1`2 payoffs.
  632.  
  633.  @if `p21 = 1 then do
  634.   @begin
  635.   @do money + 10
  636.   @end
  637.  @if `p21 = 2 then do
  638.   @begin
  639.   @do money + 20
  640.   @end
  641.  @if `p21 = 5 then do
  642.   @begin
  643.   @do money + 50
  644.   @end
  645.  @if `p21 = 10 then do
  646.   @begin
  647.   @do money + 100
  648.   @end
  649.  @if `p21 = 20 then do
  650.   @begin
  651.   @do money + 200
  652.   @end
  653.  @key
  654.  @do goto slots
  655.  @end
  656. @if `p23 = 620000 then do
  657.  @begin
  658.  @show
  659.  
  660.   `2You win at `010`2 to `01`2 payoffs.
  661.  
  662.  @if `p21 = 1 then do
  663.   @begin
  664.   @do money + 10
  665.   @end
  666.  @if `p21 = 2 then do
  667.   @begin
  668.   @do money + 20
  669.   @end
  670.  @if `p21 = 5 then do
  671.   @begin
  672.   @do money + 50
  673.   @end
  674.  @if `p21 = 10 then do
  675.   @begin
  676.   @do money + 100
  677.   @end
  678.  @if `p21 = 20 then do
  679.   @begin
  680.   @do money + 200
  681.   @end
  682.  @key
  683.  @do goto slots
  684.  @end
  685. @if `p23 = 43000 then do
  686.  @begin
  687.  @show
  688.  
  689.   `2You win at `09`2 to `01`2 payoffs.
  690.  
  691.  @if `p21 = 1 then do
  692.   @begin
  693.   @do money + 9
  694.   @end
  695.  @if `p21 = 2 then do
  696.   @begin
  697.   @do money + 18
  698.   @end
  699.  @if `p21 = 5 then do
  700.   @begin
  701.   @do money + 45
  702.   @end
  703.  @if `p21 = 10 then do
  704.   @begin
  705.   @do money + 90
  706.   @end
  707.  @if `p21 = 20 then do
  708.   @begin
  709.   @do money + 180
  710.   @end
  711.  @key
  712.  @do goto slots
  713.  @end
  714. @if `p23 = 6100 then do
  715.  @begin
  716.  @show
  717.  
  718.   `2You win at `08`2 to `01`2 payoffs.
  719.  
  720.  @if `p21 = 1 then do
  721.   @begin
  722.   @do money + 8
  723.   @end
  724.  @if `p21 = 2 then do
  725.   @begin
  726.   @do money + 16
  727.   @end
  728.  @if `p21 = 5 then do
  729.   @begin
  730.   @do money + 40
  731.   @end
  732.  @if `p21 = 10 then do
  733.   @begin
  734.   @do money + 80
  735.   @end
  736.  @if `p21 = 20 then do
  737.   @begin
  738.   @do money + 160
  739.   @end
  740.  @key
  741.  @do goto slots
  742.  @end
  743. @if `p23 = 220 then do
  744.  @begin
  745.  @show
  746.  
  747.   `2You win at `07`2 to `01`2 payoffs.
  748.  
  749.  @if `p21 = 1 then do
  750.   @begin
  751.   @do money + 7
  752.   @end
  753.  @if `p21 = 2 then do
  754.   @begin
  755.   @do money + 14
  756.   @end
  757.  @if `p21 = 5 then do
  758.   @begin
  759.   @do money + 35
  760.   @end
  761.  @if `p21 = 10 then do
  762.   @begin
  763.   @do money + 70
  764.   @end
  765.  @if `p21 = 20 then do
  766.   @begin
  767.   @do money + 140
  768.   @end
  769.  @key
  770.  @do goto slots
  771.  @end
  772. @if `p23 = 43 then do
  773.  @begin
  774.  @show
  775.  
  776.   `2You win at `05`2 to `01`2 payoffs.
  777.  
  778.  @if `p21 = 1 then do
  779.   @begin
  780.   @do money + 5
  781.   @end
  782.  @if `p21 = 2 then do
  783.   @begin
  784.   @do money + 10
  785.   @end
  786.  @if `p21 = 5 then do
  787.   @begin
  788.   @do money + 25
  789.   @end
  790.  @if `p21 = 10 then do
  791.   @begin
  792.   @do money + 50
  793.   @end
  794.  @if `p21 = 20 then do
  795.   @begin
  796.   @do money + 100
  797.   @end
  798.  @key
  799.  @do goto slots
  800.  @end
  801. @if `p23 = 300006 then do
  802.  @begin
  803.  @show
  804.  
  805.   `2You win at `02`2 to `01`2 payoffs.
  806.  
  807.  @if `p21 = 1 then do
  808.   @begin
  809.   @do money + 2
  810.   @end
  811.  @if `p21 = 2 then do
  812.   @begin
  813.   @do money + 4
  814.   @end
  815.  @if `p21 = 5 then do
  816.   @begin
  817.   @do money + 10
  818.   @end
  819.  @if `p21 = 10 then do
  820.   @begin
  821.   @do money + 20
  822.   @end
  823.  @if `p21 = 20 then do
  824.   @begin
  825.   @do money + 40
  826.   @end
  827.  @key
  828.  @do goto slots
  829.  @end
  830. @if `p23 = 20006 then do
  831.  @begin
  832.  @show
  833.  
  834.   `2You win at `02`2 to `01`2 payoffs.
  835.  
  836.  @if `p21 = 1 then do
  837.   @begin
  838.   @do money + 2
  839.   @end
  840.  @if `p21 = 2 then do
  841.   @begin
  842.   @do money + 4
  843.   @end
  844.  @if `p21 = 5 then do
  845.   @begin
  846.   @do money + 10
  847.   @end
  848.  @if `p21 = 10 then do
  849.   @begin
  850.   @do money + 20
  851.   @end
  852.  @if `p21 = 20 then do
  853.   @begin
  854.   @do money + 40
  855.   @end
  856.  @key
  857.  @do goto slots
  858.  @end
  859. @if `p23 = 3006 then do
  860.  @begin
  861.  @show
  862.  
  863.   `2You win at `02`2 to `01`2 payoffs.
  864.  
  865.  @if `p21 = 1 then do
  866.   @begin
  867.   @do money + 2
  868.   @end
  869.  @if `p21 = 2 then do
  870.   @begin
  871.   @do money + 4
  872.   @end
  873.  @if `p21 = 5 then do
  874.   @begin
  875.   @do money + 10
  876.   @end
  877.  @if `p21 = 10 then do
  878.   @begin
  879.   @do money + 20
  880.   @end
  881.  @if `p21 = 20 then do
  882.   @begin
  883.   @do money + 40
  884.   @end
  885.  @key
  886.  @do goto slots
  887.  @end
  888. @if `p23 = 106 then do
  889.  @begin
  890.  @show
  891.  
  892.   `2You win at `02`2 to `01`2 payoffs.
  893.  
  894.  @if `p21 = 1 then do
  895.   @begin
  896.   @do money + 2
  897.   @end
  898.  @if `p21 = 2 then do
  899.   @begin
  900.   @do money + 4
  901.   @end
  902.  @if `p21 = 5 then do
  903.   @begin
  904.   @do money + 10
  905.   @end
  906.  @if `p21 = 10 then do
  907.   @begin
  908.   @do money + 20
  909.   @end
  910.  @if `p21 = 20 then do
  911.   @begin
  912.   @do money + 40
  913.   @end
  914.  @key
  915.  @do goto slots
  916.  @end
  917. @if `p23 = 26 then do
  918.  @begin
  919.  @show
  920.  
  921.   `2You win at `02`2 to `01`2 payoffs.
  922.  
  923.  @if `p21 = 1 then do
  924.   @begin
  925.   @do money + 2
  926.   @end
  927.  @if `p21 = 2 then do
  928.   @begin
  929.   @do money + 4
  930.   @end
  931.  @if `p21 = 5 then do
  932.   @begin
  933.   @do money + 10
  934.   @end
  935.  @if `p21 = 10 then do
  936.   @begin
  937.   @do money + 20
  938.   @end
  939.  @if `p21 = 20 then do
  940.   @begin
  941.   @do money + 40
  942.   @end
  943.  @key
  944.  @do goto slots
  945.  @end
  946. @show
  947.  
  948.   `2I'm sorry, but you `4lose`2 your bet of: `$$`p21
  949.  
  950. @if `p21 = 1 then do
  951.  @begin
  952.  @do money - 1
  953.  @end
  954. @if `p21 = 2 then do
  955.  @begin
  956.  @do money - 2
  957.  @end
  958. @if `p21 = 5 then do
  959.  @begin
  960.  @do money - 5
  961.  @end
  962. @if `p21 = 10 then do
  963.  @begin
  964.  @do money - 10
  965.  @end
  966. @if `p21 = 20 then do
  967.  @begin
  968.  @do money - 20
  969.  @end
  970. @key
  971. @do goto slots
  972.  
  973. @#ending
  974. @drawmap
  975. @update
  976. @closescript
  977.  
  978.